<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 00:33:05
 * @LastEditTime: 2023-05-06 00:05:39
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 工序产量
 */

namespace App\Models;

use App\Traits\CommonUserTrait;



class ProProcessPro extends BaseModel
    {
    use CommonUserTrait;
    public $timestamps = true;
    public $table = "sys_pro_process_pro";
    protected $guarded = [];

    public function shift()
        {
        return $this->belongsTo(Shift::class);
        }
    public function position()
        {
        return $this->belongsTo(Position::class);
        }
    public function route_process()
        {
        return $this->belongsTo(ProProcessRouteDetails::class);
        }
    }
